<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib prefix="s" uri="/struts-tags"%>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>

<form method="post" action="addstuentinfo.action?update=yes">
	<table>
		
			<tr>
				<td>Student Name</td>
				<td><input type="text" name="student_name" value='<s:property value="student_name"/>' pattern="[a-zA-Z ]+"/></td>
				<td>Roll Number</td>
				<td><input type="text" name="roll_number" /></td>
			</tr>
			<tr>
				<td>Mobile Number</td>
				<td><input type="text" name="mobile_number" maxlength="10" pattern="\d{10}"/></td>
				<td>Phone Number</td>
				<td><input type="text" name="phone_number" /></td>
			</tr>
			<tr>
				<td>address_line_1</td>
				<td><input type="text" name="address_line_1" maxlength="128" required/></td>
				<td>address_line_2</td>
				<td><input type="text" name="address_line_2" /></td>
			</tr>
			<tr>
				<td>City</td>
				<td><input type="text" name="city" pattern="[a-zA-Z ]+" maxlength="15" required/></td>
				<td>state</td>
				<td><input type="text" name="state" pattern="[a-zA-Z ]+" maxlength="35" required/></td>
			</tr>
			<tr>
				<td>country</td>
				<td><input type="text" name="country" pattern="[a-zA-Z ]+" maxlength="35" required/></td>
				<td>email_id</td>
				<td><input type="email" name="email_id"/></td>
			</tr>
			<tr>
				<td>date_of_birth</td>
				<td><input type="text" name="date_of_birth"/></td>
				<td>highest_degree</td>
				<td><input type="text" name="highest_degree"/></td>
			</tr>
			<tr>
				<td>highest_degree_marks</td>
				<td><input type="text" name="highest_degree_marks"/></td>
				<td>highest_degree_college_name</td>
				<td><input type="text" name="highest_degree_college_name"/></td>
			</tr>
			<tr>
				<td>highest_degree_passout_year</td>
				<td><input type="text" name="highest_degree_passout_year" maxlength="4" pattern="\d{4}"/></td>
				<td>previous_degree_1</td>
				<td><input type="text" name="previous_degree_1"/></td>
			</tr>
			<tr>
				<td>previous_degree_1_marks</td>
				<td><input type="text" name="previous_degree_1_marks"/></td>
				<td>previous_degree_1_college_name</td>
				<td><input type="text" name="previous_degree_1_college_name"/></td>
			</tr>
			<tr>
				<td>previous_degree_1_passout_year</td>
				<td><input type="text" name="previous_degree_1_passout_year" maxlength="4" pattern="\d{4}"/></td>
				<td>previous_degree_2</td>
				<td><input type="text" name="previous_degree_2"/></td>
			</tr>
			<tr>
				<td>previous_degree_2_marks</td>
				<td><input type="text" name="previous_degree_2_marks"/></td>
				<td>previous_degree_2_college_name</td>
				<td><input type="text" name="previous_degree_2_college_name"/></td>
			</tr>
			<tr>
				<td>previous_degree_2_passout_year</td>
				<td><input type="text" name="previous_degree_2_passout_year" maxlength="4" pattern="\d{4}"/></td>
				<td>years_of_experience</td>
				<td><input type="text" name="years_of_experience"/></td>
			</tr>
			<tr>
				<td>gender</td>
				<td>
				<select name="gender" required >
                    <option value="">Select Gender</option>
                    <option value="M" selected="selected">Male</option>
                    <option value="F">Female</option>
                </select>
                </td>
				<td>father_name</td>
				<td><input type="text" name="father_name"/></td>
			</tr>
			<tr>
				<td>pan_card_number</td>
				<td><input type="text" name="pan_card_number"/></td>
				<td>passport_number</td>
				<td><input type="text" name="passport_number"/></td>
			</tr>
			<tr>
				<td>passport_expiry_date</td>
				<td><input type="text" name="passport_expiry_date"/></td>
			</tr>
		
	
			<tr><td><input type="submit" value="Submit"/></td></tr>
	</table>
	</form>
</body>
</html>